QT += core network

TEMPLATE = lib
DEFINES += LUA_SCRIPT_LIBRARY

CONFIG += c++17

TARGET = lua_script


win32:CONFIG(debug, debug|release) {
    DESTDIR = $$PWD/../bin/Debug
} else {
    DESTDIR = $$PWD/../bin/Release
}
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    lua_script.cpp \
    syssignal.cpp

HEADERS += \
    lua_script_global.h \
    lua_script.h \
    syssignal.h

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../bin/release/ -llua -lrobot
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../bin/debug/ -llua -lrobot

INCLUDEPATH += $$PWD/src
DEPENDPATH += $$PWD/src
